;; Documentation about how to write snippets
;; abe => Array braces each
;; hbe => Hash braces each
;; gbe => generic braces each
;; ade => 
(snippet-with-abbrev-table 'ruby-mode-abbrev-table
  ("inj" . "$>inject($${[]}) do |$${memo}, $${item}|\n$>$.\nend$>")
  ("def" . "$>def $${method}($${*args})\n$>$.\nend$>")
  ("dt"  . "$>def test_$${method}\n$>$.\nend$>")
  ("loge"  . "$>logger.error($${Log:}) $>")
  ("gli"  . "$>\$log.info($${Log:}) $>")
  ("reu"  . "$> render :update do |page| \n$>$.\nend$>")
  ("cls" . "$>class $${name}\n$>def $${method}\n$>$.\nend\nend")
  ("gbe" . "$>each \{|$${var}| $>$. \}$>")
  ("hbe" . "$>each \{|$${k},$${v}| $>$. \}")
  ("gde" . "$>each do |$${x}| \n$>$.\nend$>")
  ("hde" . "$>each do |$${k},$${v}| \n$>$.\nend$>")
  ("rq" . "$>require \"$${name}\" $>")
  ("mdl" . "$>module $${module}\n$>$.\nend")
  ("mlc" . "$>=begin\n$>$.\n=end")
)
